package com.pattern.spring;

import org.springframework.beans.factory.FactoryBean;

/**
 * @Description: spring源码
 * @Author: whp
 * @Date: 2021-02-01 11:04
 */
public class Spring implements FactoryBean {
    @Override
    public Object getObject() throws Exception {
        return new Spring();
    }

    @Override
    public Class<?> getObjectType() {
        return Spring.class ;
    }
}
